﻿#ifndef GRAPHICS42VALVEITEM_H
#define GRAPHICS42VALVEITEM_H

#include "GraphicsAirValveItem.h"

class Graphics42ValveItem : public GraphicsAirValveItem
{
public:
    Graphics42ValveItem();
    QPointF keyPoint(int i) override;
    QRectF boundingRect() const override;
public slots:
    void setDir(enum Direction dir);
    void setEnable(bool enable);
private:
    void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override;

    QPoint m_keyPoints[4];
};

#endif // GRAPHICS42VALVEITEM_H
